<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}

    <div class="form-group">
        <label for="course_id" class="control-label col-xs-12 col-sm-2">课程:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[course_id]" data-rule="required" id="course_id" class="form-control">
                <option value=""></option>
                {foreach name="departmentList" item="vo"}
                <option value="{$vo.id}" {if $row['course_id']==$vo.id }selected {/if} >
                {$vo.name}
                </option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('备注')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div>
                <textarea class="form-control" name="row[remark]" data-rule="required">{$row['remark']}</textarea>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('淘宝单号')}:</label>-
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[taobaoorder]" type="text" value="{$row['taobaoorder']}" data-rule="required">
        </div>
    </div>
    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed btn-callback">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
